package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: wufeng
 * @date: 2018/12/20 19:06
 * @desrcption: 字段描述信息添加
 */
@Getter
@Setter
@ToString
public class FormExplainAddDTO extends BaseDTO {
    private static final long serialVersionUID = -6214056359861173997L;

    /**
     * 应用id
     */
    private Long appId;

    /**
     * 菜单id
     */
    private Long menuId;

    /**
     * 表单id
     */
    private Long formId;

    /**
     * saasMark
     * @see com.xbongbong.pro.enums.SaasMarkEnum
     */
    private Integer saasMark;

    /**
     * 业务类型
     * @see com.xbongbong.saas.enums.XbbRefTypeEnum
     */
    private Integer businessType;

    private List<? extends FieldAttrEntity> formList;

    private Integer enable;

    private Integer distributorMark;

    public FormExplainAddDTO(){
        formList = new ArrayList<>();
        enable = 1;
        distributorMark = 0;
    }
}
